-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pre-reset changes #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm - it seems like users will no longer be able to further style our components, since the className prop is being left out. im ok with this since it makes it a bit harder for people to override our stuff. while working in the sample app i had the need to style plab components mostly to add margins, so we'll need to take care of that further down the road
<RawCheckbox {...props} forwardedRef={ref} /> | ||
)); | ||
|
||
export const Checkbox = hoistNonReactStatics(CheckboxWithForwardedRef, RawCheckbox); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍹 might be worthwhile to drop a comment saying statics are not passed automatically, maybe link to https://reactjs.org/docs/higher-order-components.html#static-methods-must-be-copied-over ??
* feat(component): create gucci box * feat(component): apply suggestions
All will be re-reviewed on project-reset
Important/Meta changes:
All changes:
fix(plab): tests now run with lerna setup
chore(all): bump dependencies
refactor(plab): remove deprecated method from polished
chore(storybook): update how we use a11y and viewport
fix(storybook): fix a11y violations
fix(plab): fix a11y violations
fix(plab): icon generation props
test(plab): basic button render tests
feat(plab): forwardRef for Form component
feat(plab): forwardedRef Input + remove unsed types
feat(plab): forwardRef for Checkbox
feat(plab): forwardedRef for Radio component
chore(plab): add peerDependencies
ci(all): bump yarn in travis
chore(storybook): change directory structure
test(plab): use react-testing-library
test(plab): checkbox + radio basic specs
test(plab): add more tests
test(plab): modal + panel tests
feat(plab): lock down styles
fix(storybook): prettier script
fix(plab): point to correct typings